package cn.yyh.serviceOrg.mapper;

import cn.yyh.commons.domain.LoginInfo;
import cn.yyh.commons.mapper.MyBaseMapper;
import cn.yyh.serviceOrg.entity.dto.LoginDTO;
import org.springframework.stereotype.Repository;

/**
 * @author 杨永航
 * @version 1.0
 * @Title: LoginInfoMapper
 * @Package: cn.yyh.user.mapper
 * @date 2021/6/30
 */
@Repository
public interface LoginInfoMapper extends MyBaseMapper<LoginInfo> {
    LoginInfo getByLoginDTO(LoginDTO loginDTO);

    LoginInfo getByUserId(Long userId);
}
